amd iommu: disable iommu emulation on non-iommu systems
authorWei Wang <wei.wang2@amd.com>
Sat, 28 Jan 2012 13:40:36 +0000 (13:40 +0000)
committerWei Wang <wei.wang2@amd.com>
Sat, 28 Jan 2012 13:40:36 +0000 (13:40 +0000)
commit90803ac5c9354fc5cb8042b494a53fa083b672e8
tree34181700d9609e1a525762a2a820abc0c78563c3
parentc1cdf27925e1bfebf16fe33000509cce5e115df5
amd iommu: disable iommu emulation on non-iommu systems

Introduce a new flag to disable iommu emulation on old iommu systems.
This patch is taken from my v4 patch queue, which is till pending, to
make old or non-iommu system to run cleanly without interfered by
iommuv2 codes. This might be helpful to isolate iommuv2 code in
debugging unstable regressions. The reset part of v4 will be re-based.

Signed-off-by: Wei Wang <wei.wang2@amd.com>
Committed-by: Keir Fraser <keir@xen.org>
xen/drivers/passthrough/amd/iommu_guest.c
xen/drivers/passthrough/amd/iommu_init.c
xen/include/asm-x86/amd-iommu.h